{load_presentation_object filename="merchandise" assign="obj"}
<div class="merchandise_details_title">
    <h1 class="name">{$obj->mMerchandise.name} - {$obj->mMerchandise.title}</h1>
</div>                                
<div class="merchandise_details_info">
    <div class="merchandise_details_artwork">
        {if $obj->mMerchandise.picture}
            <img src="{$obj->mMerchandise.link_to_picture}" alt="merchandise_picture" />
        {/if}
    </div>
    <div class="merchandise_details_tracklist">
        {if $obj->mTracklist}    
            <ol>
            {section name=i loop=$obj->mTracklist}  
                <li>
                    {$obj->mTracklist[i].track_id}) {$obj->mTracklist[i].track_title} ({$obj->mTracklist[i].length})
                </li>
            {/section} 
            </ol>
        {else}
            No tracklist
        {/if}
    </div>
    <div style="clear: both;"></div>
</div>
<div class="merchandise_details_price">
    Price:
    {if $obj->mMerchandise.discounted_price != 0}
    <span class="old_price">&#8364;{$obj->mMerchandise.price}</span>
    <span class="new_price"><b>&#8364;{$obj->mMerchandise.discounted_price}</b></span>
    {else}
    <span class="new_price">&#8364;{$obj->mMerchandise.price}</span>
    {/if}
</div>
<div class="merchandise_details_actions"> 
Order - Wishlist
</div> 
